package com.dkd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dkd.entity.UserEntity;
import com.dkd.http.vo.LoginReq;
import com.dkd.http.vo.LoginResp;

import java.io.IOException;

public interface UserService extends IService<UserEntity> {
	
	/**
	 * 后台登录
	 * @param req
	 * @return
	 */
	LoginResp login(LoginReq req) throws IOException;
	
	/**
	 * 发送验证码
	 * @param mobile
	 */
	void sendCode(String mobile);
}
